// Copyright 2021 Guoyoko. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Core/SWDetailNode.h"
#include "Widgets/Views/STableRow.h"

namespace DetailWidgetConstants
{
	const FMargin DetailCategoryPadding(1.0f, 2.5f, 2.0f, 2.5f);
	const FMargin DetailItemPadding(3.0f, 2.5f, 2.0f, 2.5f);

	const float DetailCategoryHeight = 30.f;
	const float DetailItemHeight = 24.f;

}


class SSWDetailTableRowBase : public STableRow< TSharedPtr< FSWDetailNode > >
{

protected:
	TWeakPtr<FSWDetailNode> OwnerTreeNode;
};